package com.ai.spring.data.jpa.domain;

import java.io.Serializable;

/**
 * 实体基类
 *
 * @author 石头
 * @Date 2019/10/18
 * @Version 1.0
 **/
public abstract class JpaEntity implements Serializable {
    /**主键*/
    private Long id;
    /**数据有效性*/
    private Integer status;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }
}
